Package-level declarations

Types

Link copied to clipboard
class DecodedJwt(val header: JwtHeader, val claims: JwtClaimsSet, val signature: ByteArray, val parts: List<String>)

DecodedJwt is a compact JWT decoded into its parts.

Link copied to clipboard
object Jwt

Json Web Token (JWT) is a compact, URL-safe means of representing claims to be transferred between two parties. Spec: https://datatracker.ietf.org/doc/html/rfc7519

Link copied to clipboard
class JwtClaimsSet(val iss: String? = null, val sub: String? = null, val aud: String? = null, val exp: Long? = null, val nbf: Long? = null, val iat: Long? = null, val jti: String? = null, val misc: Map<String, Any> = emptyMap())

Claims represents JWT (JSON Web Token) Claims Spec: https://datatracker.ietf.org/doc/html/rfc7519#section-4

Link copied to clipboard
typealias JwtHeader = JwsHeader